package team.lourd.network.system.own.domain;

import lombok.Getter;
import lombok.Setter;
import team.lourd.network.system.own.domain.netel.NEDiagram;
import team.lourd.network.system.own.domain.pretrem.PMWork;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
* @Description: 操作记录
* @Author: Lourd 
* @Date: 2019/1/18 
*/
@Table(name = "operation")
@Entity
@Getter
@Setter
public class Operation extends Detail {

    private Long point;

    private String result;

    @ManyToOne(cascade = CascadeType.ALL)
    private NEDiagram neDiagram;

    @ManyToOne(cascade = CascadeType.ALL)
    private PMWork pmWork;

}
